package com.bsoft.gol.hcs.clinical.bean.req;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @description: WHIS查询药品请求入参
 * @author: chenJij@bsoft.com.cn
 * @date: 2020/11/20 17:13
 * @param: null
 * @return:
 */
@XmlRootElement(name = "Data")
public class QueryDrugInformationWhisRequest implements Serializable {

    private String hospitalCode;
    private String keyWord;
    private String drugType;
    private Integer pageNo;
    private Integer pageSize;
    private String pharmacyCode;//药房代码
    private String deptId;
    private String mpi;//区域内患者唯一标识
    private String sourcePatientId;//患者唯一标识
    private int epitaxialSign;//外延标志 0 普通 1 外延药品

    @XmlElement(name = "PharmacyId")
    public String getPharmacyCode() {
        return pharmacyCode;
    }

    public void setPharmacyCode(String pharmacyCode) {
        this.pharmacyCode = pharmacyCode;
    }


    @XmlElement(name = "VisitOrganization")
    public String getHospitalCode() {
        return hospitalCode;
    }

    public void setHospitalCode(String hospitalCode) {
        this.hospitalCode = hospitalCode;
    }

    @XmlElement(name = "InputCode")
    public String getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(String keyWord) {
        this.keyWord = keyWord;
    }

    @XmlElement(name = "DrugType")
    public String getDrugType() {
        return drugType;
    }

    public void setDrugType(String drugType) {
        this.drugType = drugType;
    }

    @XmlElement(name = "PageNo")
    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    @XmlElement(name = "PageSize")
    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @XmlElement(name = "Mpi")
    public String getMpi() {
        return mpi;
    }

    public void setMpi(String mpi) {
        this.mpi = mpi;
    }

    @XmlElement(name = "SourcePatientId")
    public String getSourcePatientId() {
        return sourcePatientId;
    }

    public void setSourcePatientId(String sourcePatientId) {
        this.sourcePatientId = sourcePatientId;
    }

    @XmlElement(name = "EpitaxialSign")
    public int getEpitaxialSign() {
        return epitaxialSign;
    }

    public void setEpitaxialSign(int epitaxialSign) {
        this.epitaxialSign = epitaxialSign;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return "QueryDrugInformationRequest{" +
                "hospitalCode='" + hospitalCode + '\'' +
                ", deptId='" + deptId + '\'' +
                ", keyWord='" + keyWord + '\'' +
                ", drugType='" + drugType + '\'' +
                ", pageNo=" + pageNo +
                ", pageSize=" + pageSize +
                ", mpi='" + mpi + '\'' +
                ", sourcePatientId='" + sourcePatientId + '\'' +
                ", epitaxialSign=" + epitaxialSign +
                ", pharmacyCode='" + pharmacyCode + '\'' +
                '}';
    }
}
